package com.shycloud.mido.homework.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 周报类型详细表
 * </p>
 *
 * @author baiqiang
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "WeekHomeworkTypeDetail对象", description = "周报类型详细表")
public class WeekHomeworkTypeDetail implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键 : 主键")
	@TableId(value = "id", type = IdType.UUID)
	private String id;

	@ApiModelProperty(value = "周报ID : 周报ID")
	private String weekId;

	@ApiModelProperty(value = "用户ID : 用户ID")
	private String memberId;

	@ApiModelProperty(value = "学生ID : 学生ID")
	private String studentId;

	@ApiModelProperty(value = "作业ID : 作业ID")
	private Long homeworkId;

	@ApiModelProperty(value = "批次组ID : 批次组ID")
	private Long groupId;

	@ApiModelProperty(value = "1识谱2纠错 : 1识谱2纠错")
	private String type;

	@ApiModelProperty(value = "曲目时长 : 曲目时长")
	@TableField(value = "music_length")
	private String musicLength;

	@ApiModelProperty(value = "练习长度 : 练习长度")
	private String practiveLength;

	@ApiModelProperty(value = "弹琴次数 : 弹琴次数")
	private Integer practiveTimes;

	@ApiModelProperty(value = "最佳时长 : 最佳时长")
	private String bestLength;

	@ApiModelProperty(value = "完成数量 : 作业总数")
	private Integer homeworkDoneCount;

	@ApiModelProperty(value = "周报作业类型表ID : 周报作业类型表ID")
	private String weekHomeworkTypeId;

	@ApiModelProperty(value = "曲目ID")
	private Integer musicId;

	@ApiModelProperty(value = "曲目名称")
	private String musicName;

	@ApiModelProperty(value = "删除标记 : 0-正常，1-删除")
	private String delFlag;

	@ApiModelProperty(value = "创建人 : 创建人")
	private String createUser;

	@ApiModelProperty(value = "创建时间 : 创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "更新人 : 更新人")
	private String updateUser;

	@ApiModelProperty(value = "更新时间 : 更新时间")
	private LocalDateTime updateTime;

	@ApiModelProperty(value = "所属曲集封面图")
	private String img;

}
